/*** Declare Global Variable ***/
var selectedDropDownValue = '';


/*** This function will show the Element ***/
function showDiv(element) {
    getElementId(element).style.display = 'block';
}

/**** This function will hid the Element ***/
function hideDiv(element) {
    getElementId(element).style.display = 'none';
}

/*** Retrieved Element ***/
function getElementId(eleId) {
    return document.getElementById(eleId);
}

/*** Submitting Form ***/
function formSubmit(formId) {
    selectedDropDownValue = getSelectedAPI();
    alert("You have selected the API Type ::: " + selectedDropDownValue);
    getElementId(formId).submit();
}




function msg() {
    alert(" >>>>>>>>>>>>>>>>>>>>>>> ");
}

/*** Retrieve selected API name from the DropDown-Menu ***/
function getSelectedAPI() {
    var sel = document.getElementById('APIDropdown');
    var sv = sel.options[sel.selectedIndex].value;
    //alert("You have selected the value : " + sv);
    return sv;
}


